<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<%!String logState;%>
<%
	
	if (session == null) {
		//not logged
		logState = "none";
		System.out.println(logState);
	}
%>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="common/js/form_init.js"
	id="form_init_script" data-name="">
	
</script>
<link rel="stylesheet" type="text/css"
	href="theme/blue_pad/css/default.css?version=657" id="theme" />
<title>Login Cot</title>
</head>

<body>
	<style>
#docContainer .fb_cond_applied {
	display: none;
}
</style>
	<noscript>
		<style>
#docContainer .fb_cond_applied {
	display: inline-block;
}
</style>
	</noscript>
	<form
		style="BORDER-BOTTOM-COLOR: #000000; BORDER-TOP-COLOR: #000000; COLOR: #000000; BORDER-RIGHT-COLOR: #000000; BORDER-LEFT-COLOR: #000000"
		id="docContainer"
		class="fb-toplabel fb-100-item-column selected-object" method=POST
		action="SaveName.jsp">
		<div
			style="BACKGROUND-IMAGE: url(common/images/fb_header_2.png); BACKGROUND-COLOR: #0f6fff; MIN-HEIGHT: 20px; TOP: 0px"
			id="fb-form-header1" class="fb-form-header">
			<a style="MAX-WIDTH: 300px" id="fb-link-logo1" class="fb-link-logo"
				target="_blank"><img style="DISPLAY: none" id="fb-logo1"
				class="fb-logo" title="" alt=""
				src="common/images/image_default.png" /></a>
		</div>
		<div id="section1" class="section">
			<div id="column1" class="column ui-sortable">
				<div style="FILTER:" id="item9" class="fb-item fb-100-item-column">
					<div class="fb-grouplabel">
						<%
							if (null != session.getAttribute("error")) {
								out.println("<label class="+"red"+">"+session.getAttribute("error")+"</label><br>");
								//System.out.println(session.getAttribute("error"));
							}
						%>
						<label
							style="DISPLAY: inline" id="item9_label_0">Usuario</label>
					</div>
					<div class="fb-input-box">
						<input id="item9_text_1" maxlength="254" name="username"
							placeholder="" autocomplete="off" data-hint="" type="text" />
					</div>
				</div>
				<div style="FILTER:" id="item8" class="fb-item fb-100-item-column">
					<div class="fb-grouplabel">
						<label style="DISPLAY: inline" id="item8_label_0">Contrase&ntilde;a</label>
					</div>
					<div class="fb-input-box">
						<input id="item8_password_1" maxlength="254" type="password"
							name="password" placeholder="" autocomplete="off" data-hint=""
							required />
					</div>
				</div>
			</div>
		</div>
		<div
			style="BACKGROUND-IMAGE: url(common/images/fb_footer.png); MIN-HEIGHT: 17px; TOP: 0px"
			id="fb-submit-button-div" class="fb-footer fb-item-alignment-center">
			<input
				style="BACKGROUND-IMAGE: url(common/images/btn_submit.png); BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; WIDTH: 130px; HEIGHT: 30px; BORDER-TOP: medium none; BORDER-RIGHT: medium none"
				id="fb-submit-button" class="fb-button-special" type=SUBMIT
				data-regular="url('common/images/btn_submit.png')" value="Log In" />
		</div>
	</form>
</body>
</html>
<%
	logState = String.valueOf((session.getAttribute("state")));
	System.out.println("estado 2" + logState);
%>